package k2_oop.p2_inheritAndPolymorphic.demo07;

public class Eagle extends Animal{

    @Override
    public void eat() {
        System.out.println("鹰吃蛇");
    }

    public void fly(){
        System.out.println("鹰能飞");
    }
}
